package tom.client.admin;

import java.util.Map;

import com.google.gwt.core.client.GWT;

import tom.client.DataForm;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TextBox;

public class FormDocuKind extends DataForm {
	private static FormDocuKind panel;
	
	public static FormDocuKind getPanel() {
		if (panel == null)
			panel = GWT.create(FormAppUser.class);
		return panel;
	}

	private final TextBox textBox;
	
	public FormDocuKind() {
		txtCode.setMaxLength(1);
		
		Label lblNewLabel = new Label("New label");
		add(lblNewLabel, 23, 125);
		
		textBox  = new TextBox();
		add(textBox, 122, 125);
		//lbCode.setText("รหัส :");
		
	}
	
	@Override
	protected void search() {
	}

	@Override
	protected void refresh() {
	}

	@Override
	protected void update() {
	}

	@Override
	protected void insert() {
	}

	@Override
	protected void delete() {
		// TODO Auto-generated method stub

	}

	@Override
	protected void getFields() {
		// TODO Auto-generated method stub

	}

	@Override
	protected String getReportFile() {
		return null;
	}

	@Override
	protected Map<String, Object> genReportParams() {
		return null;
	}
}
